package com.travel.lib.base.utils;

import android.util.Log;

import com.travel.lib.base.constantdata.Constants;

/**
 * Created by spc on 2017/8/10.
 */

public class TravelLog {
    private static final String TAG = "Travel_Agency";

    public static void d(String msg) {
        if (!Constants.RELEASE_CLIENT) {
            Log.d(TAG, msg);
        }
    }

    /**
     * 后台输出
     *
     * @param tag
     * @param msg
     */
    public static void d(String tag, String msg) {
        if (!Constants.RELEASE_CLIENT) {
            Log.d(tag, msg);
        }
    }

    public static void i(String msg) {
        if (!Constants.RELEASE_CLIENT) {
            Log.i(TAG, msg);
        }
    }

    public static void e(String msg) {
        if (!Constants.RELEASE_CLIENT) {
            Log.e(TAG, msg);
        }
    }
}
